const loaderUtils = require("loader-utils");

module.exports = exports = function loader(source) {
	console.log("\x1B[31m%s\x1B[0m", "start load loader1");
	// console.log(source);
	console.log("\x1B[31m%s\x1B[0m", "end load loader1");

	return source;
	// return Promise.resolve(source);
};
// remainingRequest loader链后面的
// module.exports.pitch = function(remainingRequest, precedingRequest, data) {
//   if (someCondition()) {
//     return "module.exports = require(" + JSON.stringify("-!" + remainingRequest) + ");";
//   }
// };
// module.exports.raw = true;
